﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Weibo.Entity;

namespace Weibo.Common
{
  public  class CommonMethod
    {
      /// <summary>
        ///    返回信息 判断是否是空或者NULL 
      /// </summary>
      /// <param name="schoolName"></param>
      /// <param name="schoolCollegeName"></param>
      /// <param name="schoolClassName"></param>
      /// <returns></returns>
      public static string DealSchoolName(Education education)
      {
          if (education==null)
          {
              return "";
          }


          return education.SchoolName + education.schoolCollege + education.SchoolClassName;
      }
    }
}
